﻿<ctl:FloatableWindow x:Class="AuroraPlatform.Controls.LogWindow"
    xmlns:ctl="clr-namespace:System.Windows.Controls;assembly=FloatableWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" Width="400" Height="500"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>

        <RichTextBox Background="Black" Foreground="White" IsReadOnly="True">
            <RichTextBox.Blocks>
                <Paragraph x:Name="MainParagraph"/>
            </RichTextBox.Blocks>
        </RichTextBox>

        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1">
            <Button Content="清除" Width="73" Height="23" VerticalAlignment="Center" Margin="0,0,10,0" Click="Button_Click"/>
            <Button Content="复制" Width="73" Height="23" VerticalAlignment="Center" Margin="0,0,10,0" Click="Button_Click_1"/>
        </StackPanel>
    </Grid>
</ctl:FloatableWindow>
